package com.bw.mallshop.entity;


import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import com.bw.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 获取购物车列表
 * */
public class CarListEntity extends BaseEntity {

    public List<Values>data;

    @Entity
    public static class Values implements Serializable {
        @PrimaryKey(autoGenerate = true)
        public int id;
        @ColumnInfo(name = "goods_id")
        public int goods_id;
        @ColumnInfo(name = "goods_desc")
        public String goods_desc;
        @ColumnInfo(name = "goods_icon")
        public String goods_icon;
        @ColumnInfo(name = "goods_price")
        public String goods_price;
        @ColumnInfo(name = "goods_count")
        public int goods_count;
        public int user_id;
        @ColumnInfo(name = "imie")
        public String imie;
        @ColumnInfo(name = "goods_sku")
        public String goods_sku;
        public boolean selFlag = true;//选中标志
    }
}
